package com.linln.modules.business.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.linln.modules.business.domain.Task;
import com.linln.modules.business.dto.MyTaskDTO;
import org.apache.ibatis.annotations.Param;

/**
 * @author chaunceyzhong
 */
public interface MapperTask extends BaseMapper<Task> {


    /**
     * 获取我的申请列表
     * @param userId
     * @return
     */
    public IPage<MyTaskDTO> getMyReqTask(IPage page,@Param("userId") Long userId);


}
